package com.deyuanyun.pic.settings.enumeration;

/**
 *  code编码
 *  @author axiao(xj08.dream@gmail.com)
 *  @date 2016-12-21
 *  @version 1.0
 *  Histroy: [修改人][时间][描述]
 */
public enum GreatwallCode {

    SUCCESS("0000", "操作成功"),

    DATABASE_FAIL("1000", "数据库异常"),

    PARAMETER_FAIL("0004","参数无效");

    private String code;
    private String label;

    private GreatwallCode(String code, String label) {
        this.code = code;
        this.label = label;
    }

    public String getCode() {
        return code;
    }

    public String getLabel() {
        return label;
    }
}
